Spatial–temporal reasoning